package com.naiterui.ehp.bs.cms.modules.notice.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.notice.entity.NoticeMessage;
import com.naiterui.ehp.bp.bo.notice.NoticeMessageBO;
import org.apache.ibatis.annotations.Param;

/**
 * @author luao
 * @date 2021/3/9 5:10 下午
 **/
@DS(DsName.EHP)
public interface NoticeMessageMapper extends BaseMapper<NoticeMessage> {

    Page<NoticeMessageBO> getPage(@Param("page") IPage page, @Param("ew") Wrapper entityWrapper);
}
